package ${escapeKotlinIdentifiers(packageName)}.${escapeKotlinIdentifiers(fragmentPackage)}

import android.view.View
import androidx.lifecycle.ViewModelProviders

import ${escapeKotlinIdentifiers(packageName)}.R
import ${escapeKotlinIdentifiers(packageName)}.base.BaseVMFragment
import ${escapeKotlinIdentifiers(packageName)}.databinding.${underscoreToCamelCase(classToResource(fragmentLayout))}Binding
import kotlinx.android.synthetic.main.title_bar.*
import javax.inject.Inject


/**
 * create by xuexuan
 * 来自薛瑄的自定义模板
 */

class ${fragmentClass} : BaseVMFragment<${underscoreToCamelCase(classToResource(fragmentLayout))}Binding>() {


    override val bindingViewModel: Int get() = 0
    override val layoutId: Int get() = R.layout.${fragmentLayout}
    

    override fun lazyInitView(view: View) {
        super.lazyInitView(view)

        toolBar.setNavigationOnClickListener { close() }
        title.text = ""
    }

    override fun initData() {
        super.initData()

    }

    companion object {
        fun newInstance() = ${fragmentClass}()
    }


}